<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>SyslibJS - Buttons test</title> 
<script src="../src/syslib/syslib.js"></script>
</head>
<body>
<script>
  syslib.init({
    path : "../src/syslib/", 
    enableUI : true, 
    lookAndFeel : "green", 
    debug : true
  });
</script>

<script type="application/syslib+xml">
	<div>
		<simplebutton>
			This is a simple button
		</simplebutton>
		<simplebutton onclick="alert('You just clicked this simple button!');">
			<img src="detalhes.gif" border="0" />
			This is a simple button with a onclick event
		</simplebutton>
		
		<br /><br />

		<toolbar>
			<simplebutton>
				This is a simple button
			</simplebutton>
			<simplebutton onclick="alert('You just clicked this simple button!');">
				<img src="detalhes.gif" border="0" />
				This is a simple button with a onclick event
			</simplebutton>
			<buttonmenu>
				<buttonitem>
					Button one
				</buttonitem>
				<buttonitem onclick="alert('You just clicked a button inside a button menu!');">
					Button two with a onclick event
				</buttonitem>
			</buttonmenu>
		</toolbar>
	</div>
</script>

</body>
</html>